package xjtu.se.articlecommunity.user.publisharticle.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import xjtu.se.articlecommunity.user.publisharticle.dto.ImgDto;

public interface ImgDao {
    @Select("select max(convert(i_id,signed)) from t_img")
    Integer findMaxID(ImgDto imgDto);

    @Insert("insert t_img(i_id, i_path) values(#{i_id}, #{i_path})")
    void insertImg(ImgDto imgDto);
}
